package com.iwhalecloud.uncc.common;

import java.time.format.DateTimeFormatter;

/**
 * @Description
 * @Author xu.dangling
 * @Date 2021/3/19
 */
public class SysConstant {
	public static final String CTGMQ = "CTG";
	public static final String ROCKETMQ = "ROCKET";
    
    public static final String MQ_DEFAULT_TAG = "*";
    public static final String MQ_MESSAGE_MODEL_BROADCASTING = "BROADCASTING";
    public static final String MQ_MESSAGE_MODEL_CLUSTERING = "CLUSTERING";
    public static final String DB_DEFAULT_PARTITION = "10000";

    public static final String UNCC_FRAME_URL = "UNCC_FRAME_URL";
    public static final String DATABASE_TYPE = "DATABASE_TYPE";
    public static final String UC_SEQ_MOD = "UC_SEQ_MOD" ;
    public static final String GID_URL = "GID_URL";
    public static final String DATASOURCE_DEFAULT = "default";
    public static final String ACCESSABLE_BORAD_MACHINE_URL = "ACCESSABLE_BORAD_MACHINE_URL";
    public static final String ACCESSABLE_BORAD_MACHINE_HANGING_URL = "ACCESSABLE_BORAD_MACHINE_HANGING_URL";
    public static final String REDIS_KEY_PREFIX_HANGING_SURVEY_REQ_ID = "REDIS_KEY_PREFIX_HANGING_SURVEY_REQ_ID";
    public static final String REDIS_KEY_PREFIX_HANGING_SURVEY_TASKINST_ID = "REDIS_KEY_PREFIX_HANGING_SURVEY_TASKINST_ID";
    public static final String FRAME_PUTRESULT_URL = "FRAME_PUTRESULT_URL";
    public static final String TASK_TO_SERVICE_MODE = "TASK_TO_SERVICE_MODE";
    public static final String PARTITION_MODE = "PARTITION_MODE";
    public static final String PREFIX_TEMPLATE_SEQ = "TEMPLATE_SEQ_";

    public static final String MONITOR_AS_URL = "MONITOR_AS_URL";
    public static final String MONITOR_GETTABLE_COUNT = "MONITOR_GETTABLE_COUNT";

    public static final String DOWN_PORT_TYPE_PREFIX = "DOWN_PORT_TYPE_";
    public static final String CM_PM_MQ_CODE="CM_PM_MQ_CODE";
    public static final String COLL_NEED_RECORD_EMPTY_RESULT = "COLL_NEED_RECORD_EMPTY_RESULT";
    /***
     * 系统类型0云调1多云
     */
    public static final String SYS_TYPE = "SYS_TYPE";
    public static final String LINE_SEPARATOR = System.getProperty("line.separator");
    public static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS");
    public static final DateTimeFormatter DATE_TIME_FORMATTER2 = DateTimeFormatter.ofPattern("yyyyMMddHHmmss");
    public static final DateTimeFormatter DATE_FORMATTER2 = DateTimeFormatter.ofPattern("yyyyMMdd");
}
